package com.zou.mall.member.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
@ApiModel(value = "注册请求", description = "注册请求传入参数")
public class RegisterVO {
    @NotBlank
    @ApiModelProperty(value = "username", name = "username", required = true, dataType = "String", example = "username")
    private String username;
    @NotBlank
    @ApiModelProperty(value = "password", name = "password", required = true, dataType = "String", example = "password")
    private String password;
    @NotBlank
    @ApiModelProperty(value = "phone", name = "phone", required = true, dataType = "String", example = "phone")
    private String phone;
    @NotBlank
    @ApiModelProperty(value = "email", name = "email", required = true, dataType = "String", example = "email")
    private String email;
    @NotBlank
    @ApiModelProperty(value = "code", name = "code", required = true, dataType = "String", example = "code")
    private String code;
}
